projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b89a53
)
(encode_coding): If eol_type is not yet decided, use
author
Kenichi Handa
<handa@m17n.org>
Thu, 13 Apr 2006 04:39:20 +0000
(
04:39
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 13 Apr 2006 04:39:20 +0000
(
04:39
+0000)
system_eol_type.
src/ChangeLog
patch
|
blob
|
history
src/coding.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index e2da810a4fc85d21090a4b7ce3cfe80f06bed9a0..9955aabd0e7ec52c38caabda135cead5a40a0db0 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,6
+1,8
@@
2006-04-13 Kenichi Handa <handa@m17n.org>
* coding.c (setup_coding_system): Fix previous change.
+ (encode_coding): If eol_type is not yet decided, use
+ system_eol_type.
2006-04-13 Nick Roberts <nickrob@snap.net.nz>
diff --git
a/src/coding.c
b/src/coding.c
index 51e76e51b713d33317fa8c21930d64b1b1b5484f..5fb4c202b8550bae14204002f40088eb48e390f8 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4998,6
+4998,8
@@
encode_coding (coding, source, destination, src_bytes, dst_bytes)
coding->consumed = coding->consumed_char = 0;
coding->errors = 0;
coding->result = CODING_FINISH_NORMAL;
+ if (coding->eol_type == CODING_EOL_UNDECIDED)
+ coding->eol_type = system_eol_type;
switch (coding->type)
{